<template>
  <dv-border-box-8 :reverse="true">
    <div class="div-tb">
      <div class="table-title">
        <div>姓名</div>
        <!-- 车牌 -->
        <div>进场时间</div>
        <!-- 进场时间 -->
        <div>退场时间</div>
        <div>人员照片   </div>
        <!-- 图片 -->
      </div>
      <div id="div-table" class="table-body">
        <ul>
          <li>
            <div class="table-li-content">
              <div>张晓婷</div>
              <div>
                08:09:40
              </div>
              <div>18:09:20</div>
              <div><img src="avatar3.jpeg" /></div>
            </div>
          </li>
          <li class="bg">
            <div class="table-li-content">
              <div>李小二</div>
              <div>
                08:09:20
              </div>
              <div>18:09:20</div>
              <div><img src="avatar3.jpeg" /></div>
            </div>
          </li>
          <li>
            <div class="table-li-content">
              <div>访客</div>
              <div>
                17:09:40
              </div>
              <div>18:09:20</div>
              <div><img src="avatar3.jpeg" /></div>
            </div>
          </li>
          <li class="bg">
            <div class="table-li-content">
              <div>员工</div>
              <div>
                17:09:40
              </div>
              <div>18:09:20</div>
              <div><img src="avatar3.jpeg" /></div>
            </div>
          </li>
          <li>
            <div class="table-li-content">
              <div>访客</div>
              <div>
                17:09:40
              </div>
              <div>18:09:20</div>
              <div><img src="avatar3.jpeg" /></div>
            </div>
          </li>
          <li class="bg">
            <div class="table-li-content">
              <div>员工</div>
              <div>
                17:09:40
              </div>
              <div>18:09:20</div>
              <div><img src="avatar3.jpeg" /></div>
            </div>
          </li>
          <li>
            <div class="table-li-content">
              <div>访客</div>
              <div>
                17:09:40
              </div>
              <div>17:39:20</div>
              <div><img src="avatar3.jpeg" /></div>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </dv-border-box-8>
</template>

<script>
export default {
  components: {},
};
</script>

<style>
.div-tb {
  padding: 5px;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: rgba(72, 80, 93, 0.2);
}

.table-title {
  width: 100%;
  display: flex;
  font-size: small;
  text-align: center;
  height: 30px;
  background-color: rgb(0, 186, 230);
}

.table-body {
  margin-top: 10px;
  width: 100%;
  font-size: 12px;
  overflow: hidden;
  height: calc(100% - 30px);
}

.table-body li {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  line-height: 150%;
}

.table-body ul {
  width: 100%;
}

.table-li-content {
  width: 100%;
  display: flex;
  font-size: small;
  text-align: center;
}

.bg {
  background-color: rgba(23, 32, 23, 0.5);
}

.table-li-content div img {
  height: 50px;
  width: 50px;
}
.table-li-content div {
  border-bottom: 1px solid #407abd;
}
.table-li-content div:nth-child(1) {
  flex: 0.5;
  line-height: 50px;
}

.table-li-content div:nth-child(2) {
  flex: 1.5;
  line-height: 50px;
}

.table-li-content div:nth-child(3) {
  flex: 1.5;
  line-height: 50px;
}

.table-li-content div:nth-child(4) {
  flex: 1;
}

.table-li-content div:nth-child(5) {
  flex: 1;
}

.table-title div:nth-child(1) {
  flex: 0.5;
  line-height: 30px;
}

.table-title div:nth-child(2) {
  flex: 1.8;
  line-height: 30px;
}

.table-title div:nth-child(3) {
  flex: 1.5;
  line-height: 30px;
}

.table-title div:nth-child(4) {
  flex: 1;
  line-height: 30px;
}

.table-title div:nth-child(5) {
  flex: 1;
  line-height: 30px;
}
</style>
